﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ArtCube.master" AutoEventWireup="true"
    CodeFile="Portfolio.aspx.cs" Inherits="_Portfolio" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link rel="stylesheet" href="Content/portfolio.css" type="text/css" media="screen" />
    <meta name="keywords" content='<%=sKeywords %>' />
    <meta name="description" content='<%=sDescription %>' />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="pageHeader">
        <div class="headerText">
            <h1>
                <% =sTitle %></h1>
        </div>
        <div class="buttons">
            <div class="btnAnimation">
                <asp:HyperLink runat="server" ID="lnkAnimation" NavigateUrl="~/Portfolio.aspx?wt=3"></asp:HyperLink></div>
            <div class="btnIlustrator">
                <asp:HyperLink runat="server" ID="lnkIllustrator" NavigateUrl="~/Portfolio.aspx?wt=1"></asp:HyperLink></div>
            <div class="btnBrand">
                <asp:HyperLink runat="server" ID="lnkBrand" NavigateUrl="~/Portfolio.aspx?wt=2"></asp:HyperLink></div>
            <div class="btnPrint">
                <asp:HyperLink runat="server" ID="lnkPrint" NavigateUrl="~/Portfolio.aspx?wt=4"></asp:HyperLink></div>
            <div class="btnWeb">
                <asp:HyperLink runat="server" ID="lnkWeb" NavigateUrl="~/Portfolio.aspx?wt=5"></asp:HyperLink></div>
        </div>
    </div>
    <div class="WorkList">
        <%for (int iCounter = 0; iCounter < DT.Rows.Count; iCounter++)
          {
              System.Data.DataRow Row = DT.Rows[iCounter];
              // Link to work
              string sLink = string.Format("Work.aspx?id={0}&amp;wt={1}&amp;page={2}", Row["id"].ToString(), WorkType, CurrentPage);
        %>
        <div class="WorkBlock">
            <div class="TextBlock">
                <div class="rightBlock">
                    <div class="work_Title">
                        <h2>
                            <a href='<%=sLink %>'>
                                <%= Row["Title"].ToString() %></a></h2>
                    </div>
                    <div class="work_Content">
                        <p>
                            <%=Row["SubTitle"].ToString() %></p>
                    </div>
                    <div class='btnMore'>
                        <a href='<%=sLink %>'></a>
                    </div>
                </div>
                <div class="leftBlock">
                    <div class="tech_Title">
                        <%=FUNC.GetPhrase(3) %></div>
                    <div class="technologies">
                        <%=Row["Details"].ToString()%></div>
                    <div class="work_Link">
                        <a href="http://<%=Row["Link"].ToString() %>" target="_blank">
                            <%=Row["LinkName"].ToString()%></a>
                    </div>
                </div>
            </div>
            <div class="imgBlock">
                <a href='<%=sLink %>'>
                    <img alt="img1" src="Content/Galery/<%=Row["Thumbnail"].ToString() %>" border='0' /></a></div>
        </div>
        <%  } %>
        <div class="paging" id="ulPager" runat="server">
        </div>
    </div>
</asp:Content>
